package com.fix.day4.entity;

import java.util.Date;

public class Student {
	
	private int stid;
	private String stname;
	private String sex;
	private int money;
	private String phone;
	private Date birthday;
	
	public Student() {} 
	
	public Student(String stname, String sex, String phone) {
		super();
		this.stname = stname;
		this.sex = sex;
		this.phone = phone;
	} 

	public int getStid() {
		return stid;
	}

	public void setStid(int stid) {
		this.stid = stid;
	}

	public String getStname() {
		return stname;
	}

	public void setStname(String stname) {
		this.stname = stname;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public int getMoney() {
		return money;
	}

	public void setMoney(int money) {
		this.money = money;
	}

	public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	@Override
	public String toString() {
		return "Student [stid=" + stid + ", stname=" + stname + ", sex=" + sex + ", money=" + money + ", phone=" + phone
				+ ", birthday=" + birthday + "]";
	} 

}
